<?php
require_once(dirname(__FILE__)."/../inc/common.php");
/*******************************************************************************************
'*******************************************************************************************/
$templatePath = DJCMS_TEMPLATE."reg.html";
if (cacheStart == 1) {
	if (!djcms::$content = memory('get', 'parsed_reg')){
        parseIndexPart($templatePath);
	    memory('set', 'parsed_reg',djcms::$content);
    }
} else {
	parseIndexPart($templatePath);
}
echo replaceStr(djcms::$content,"{yh:runinfo}",getRunTime($t1)); 

function parseIndexPart($templatePath) {
	djcms::$content=loadFile($templatePath);
	djcms::parseTopAndFoot();
	djcms::parseSelf();
	djcms::parseGlobal();
	djcms::parseMenuList("");
	djcms::parseNewsList();
	djcms::parseAreaList();
	djcms::parseVideoList();
	djcms::parseTopicList();
	djcms::parseLinkList();
	djcms::$content = replaceCurrentTypeId(djcms::$content,-444);
	djcms::parseIf();
}
?>
<div style="position:absolute; width:440px; height:100px; display:none;border:#86C2FF solid 5px; overflow-y:scroll; background: #BFDFFF" id="imgdiv">
<?php
for ($i = 1;$i < 24;$i++) {
?>
<img  src="pic/<?=$i?>.gif" src2="pic/<?=$i?>.gif" onClick="$('img').value='pic/<?=$i?>.gif';hide('imgdiv');"  style="cursor:pointer"/>
<?php
}
?>
</div>